package com.easyweb.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.easyweb.dao.KeyWordDao;
import com.easyweb.model.KeyWord;
import com.easyweb.service.KeyWordService;

@Service
public class KeyWordServiceImpl implements KeyWordService{
	
	@Autowired
	private KeyWordDao keyWordDao;

	public KeyWord getKeyWord() {
		return keyWordDao.getKeyWord();
	}

	public int updateKeyWord(KeyWord keyWord) {
		return keyWordDao.updateKeyWord(keyWord);
	}

	public int insertKeyWord(KeyWord keyWord) {
		return keyWordDao.insertKeyWord(keyWord);
	}

}
